package chapter_2;

import java.util.Scanner;

public class Test3 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个分数：");
        double score = scanner.nextDouble();
        if(score >= 95){
            System.out.println("给你一个自行车");
        }else if(score >= 90){
            System.out.println("带你去坐旋转木马");
        }else if(score >= 80){
            System.out.println("带你去看电影");
        }else if(score >= 60){
            System.out.println("啥也没有");
        }else{
            System.out.println("打你一顿");
        }
        System.out.println("结束了");
    }
}
